﻿using BootstrapAdmin.DataAccess.Models;
using BootstrapAdmin.Web.Core.Models;

namespace BootstrapAdmin.Web.Core.Services.Production;

public class AlarmRecordFilter
{
    public string? Classify { get; set; }

    public DateTime? CreatedTimeStart { get; set; }

    public DateTime? CreatedTimeEnd { get; set; }
}

public interface IAlarmRecordService
{
    Task<(List<AlarmRecord> items, int count)> GetPagedAsync(AlarmRecordFilter filter, int pageIndex, int pageItems);
}
